licenses(["notice"])

java_test(
    name = "RsaKemTest",
    size = "small",
    srcs = ["RsaKemTest.java"],
    deps = [
        "//src/main/java/com/google/crypto/tink/hybrid/subtle:rsa_kem",
        "@maven//:com_google_truth_truth",
        "@maven//:junit_junit",
    ],
)

java_test(
    name = "RsaKemHybridEncryptTest",
    srcs = ["RsaKemHybridEncryptTest.java"],
    deps = [
        "//src/main/java/com/google/crypto/tink:hybrid_decrypt",
        "//src/main/java/com/google/crypto/tink:hybrid_encrypt",
        "//src/main/java/com/google/crypto/tink/aead/subtle:aes_gcm_factory",
        "//src/main/java/com/google/crypto/tink/hybrid/subtle:rsa_kem",
        "//src/main/java/com/google/crypto/tink/hybrid/subtle:rsa_kem_hybrid_decrypt",
        "//src/main/java/com/google/crypto/tink/hybrid/subtle:rsa_kem_hybrid_encrypt",
        "//src/main/java/com/google/crypto/tink/subtle:random",
        "//src/main/java/com/google/crypto/tink/testing:test_util",
        "@maven//:com_google_truth_truth",
        "@maven//:junit_junit",
    ],
)

java_test(
    name = "RsaKemHybridDecryptTest",
    srcs = ["RsaKemHybridDecryptTest.java"],
    deps = [
        "//src/main/java/com/google/crypto/tink:hybrid_decrypt",
        "//src/main/java/com/google/crypto/tink:hybrid_encrypt",
        "//src/main/java/com/google/crypto/tink/aead/subtle:aes_gcm_factory",
        "//src/main/java/com/google/crypto/tink/hybrid/subtle:rsa_kem",
        "//src/main/java/com/google/crypto/tink/hybrid/subtle:rsa_kem_hybrid_decrypt",
        "//src/main/java/com/google/crypto/tink/hybrid/subtle:rsa_kem_hybrid_encrypt",
        "//src/main/java/com/google/crypto/tink/subtle:hex",
        "//src/main/java/com/google/crypto/tink/subtle:random",
        "//src/main/java/com/google/crypto/tink/testing:test_util",
        "@maven//:com_google_truth_truth",
        "@maven//:junit_junit",
    ],
)

java_test(
    name = "AeadOrDaeadTest",
    size = "small",
    srcs = ["AeadOrDaeadTest.java"],
    deps = [
        "//src/main/java/com/google/crypto/tink:deterministic_aead",
        "//src/main/java/com/google/crypto/tink/hybrid/subtle:aead_or_daead",
        "//src/main/java/com/google/crypto/tink/testing:test_util",
        "@maven//:com_google_truth_truth",
        "@maven//:junit_junit",
    ],
)
